package com.seven.good.dao;

import com.seven.good.pojo.GoodPictures;

import java.util.List;

public interface GoodPicturesMapper {
    int deleteByPrimaryKey(Integer gpid);

    int insert(GoodPictures record);

    int insertSelective(GoodPictures record);

    GoodPictures selectByPrimaryKey(Integer gpid);

    int updateByPrimaryKeySelective(GoodPictures record);

    int updateByPrimaryKey(GoodPictures record);

    //根据gid查询所有图片
    List<GoodPictures> selectPics(Integer gid);
}